package cn.rongdao.jrkabao.ui.remind.adapter;

import android.content.Context;
import android.view.ViewGroup;

import com.mifengkong.frtools.ui.adapter.recyclerview.FRBaseRecyclerAdapter;
import com.mifengkong.frtools.inputmethod.FRView;

import cn.rongdao.jrkabao.R;
import cn.rongdao.jrkabao.bean.remind.RemindMailListBean;

/**
 * Created by jack on 2017/11/24
 */

public class RemindMailListAdapter extends FRBaseRecyclerAdapter<RemindMailListBean, RemindMailListViewHolder> {

    public RemindMailListAdapter(Context context, OnItemClickListener<RemindMailListViewHolder> listener) {
        super(context, listener);
    }

    @Override
    public RemindMailListViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        return new RemindMailListViewHolder(FRView.inflateLayout(getContext(), R.layout.item_remind_mail_list, parent, false));
    }
}
